-
Home
-
WPGraphQL
-
1.16.0
-
Code
-
Classes
- AbstractConnectionResolver
Total Complexity |
88 |
Dependencies |
8 |
Dependents |
0 |
Total lines |
1,012 |
Lines of code |
262 |
Logical lines of code |
137 |
Comment lines |
615 |
Methods |
39 |
Properties |
14 |
Methods 39
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_amount_requested() |
A |
55 |
9 |
19 |
apply_cursors_to_ids() |
S |
55 |
6 |
20 |
get_edges() |
S |
54 |
4 |
23 |
get_connection() |
S |
53 |
4 |
22 |
execute_and_get_ids() |
S |
59 |
4 |
14 |
get_ids_for_nodes() |
S |
64 |
4 |
9 |
get_start_cursor() |
S |
73 |
4 |
4 |
has_previous_page() |
S |
64 |
4 |
10 |
has_next_page() |
S |
64 |
4 |
10 |
__construct() |
S |
59 |
3 |
13 |
get_nodes() |
S |
63 |
3 |
11 |
getLoader() |
S |
67 |
3 |
7 |
get_end_cursor() |
S |
73 |
3 |
4 |
get_offset_for_cursor() |
S |
67 |
3 |
7 |
get_after_offset() |
S |
71 |
2 |
6 |
is_valid_model() |
S |
78 |
2 |
3 |
get_offset() |
S |
68 |
2 |
6 |
get_array_index_for_offset() |
S |
70 |
2 |
6 |
get_before_offset() |
S |
71 |
2 |
6 |
getSource() |
S |
82 |
1 |
3 |
get_loader_name() |
S |
100 |
1 |
0 |
getInfo() |
S |
82 |
1 |
3 |
get_page_info() |
S |
65 |
1 |
9 |
getShouldExecute() |
S |
82 |
1 |
3 |
get_cursor_for_node() |
S |
79 |
1 |
3 |
setQueryArg() |
S |
74 |
1 |
4 |
set_query_arg() |
S |
76 |
1 |
4 |
one_to_one() |
S |
77 |
1 |
4 |
get_query_args() |
S |
100 |
1 |
0 |
get_query_amount() |
S |
73 |
1 |
4 |
get_query() |
S |
100 |
1 |
0 |
should_execute() |
S |
100 |
1 |
0 |
is_valid_offset() |
S |
100 |
1 |
0 |
get_ids_from_query() |
S |
68 |
1 |
8 |
get_ids() |
S |
76 |
1 |
4 |
getArgs() |
S |
75 |
1 |
4 |
get_node_by_id() |
S |
80 |
1 |
3 |
getContext() |
S |
82 |
1 |
3 |
get_args() |
S |
82 |
1 |
3 |